<?
	$isEvenEval = function($TemplatesFactory){ return $TemplatesFactory->GetCurrentIteration() % 2 == 0; };
	$isEven = $TemplatesFactory->EvalFunction($isEvenEval);
?>

<? if ($isEven){ ?>
<div class="news-line <?=	$TemplatesFactory->IsCurrentIteration(0) ? 'double-border-top' : ''?>">
<? } ?>
	<div class="newsContainer inlineBlock">
		<div class="newsTitle"><?=$Data['short-title'];?></div>
		<div class="newsMiniContainer">
			<img src="<?=$Data['image_path'];?>" class="newsMiniImage inlineBlock" />
			<div class="newsMiniText inlineBlock"><?=$Data['short-text'];?><br /><br /><span data-path="noticia" data-parameters="id=<?=$Data['id'];?>&name=<?='1'/*$Data['url']*/;?>" class="moreLink">Ver m&aacute;s &gt;&gt;</span></div>
		</div>
	</div>
<? if (!$isEven){ ?>
</div>
<? } ?>